import React from 'react';
import { Swiper } from 'antd-mobile'
import swiper1 from "../../assets/images/tu1.jpg"
import swiper2 from "../../assets/images/tu4.jpg"
import swiper3 from "../../assets/images/tu3.jpg"
import "./Home.scss"
const swiperArr = [swiper1, swiper2, swiper3]
const items = swiperArr.map((item, index) => (
    <Swiper.Item key={index}>
        <img src={item} />
    </Swiper.Item>
))
const HomeSwiper = () => {
    return (
        <div className='homeswiper-box'>
            <Swiper
                loop
                autoplay
            >
                {items}
            </Swiper>
        </div>
    );
}

export default HomeSwiper;
